<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Manager user</title>
<link href="${pageContext.request.contextPath}/client/css/bootstrap.min.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/client/css/check.css" rel="stylesheet">
<link href="${pageContext.request.contextPath}/client/css/style.css" rel="stylesheet">
<script src="${pageContext.request.contextPath}/client/js/lib/jquery.js"></script>
<script src="${pageContext.request.contextPath}/client/js/lib/bootstrap.js"></script>
<script src="${pageContext.request.contextPath}/client/js/main.js"></script>
<!--  <script src="${pageContext.request.contextPath}/client/js/zhou.js"></script>-->

<script type="text/javascript">
	function getHtml(){
				htmlobject = $.ajax({url:"${pageContext.request.contextPath}/manager/user/pwdUpdateJump",type:"POST",async:false});
				$("#main").html(htmlobject.responseText);
	}
	function getResServers(){
		htmlobject = $.ajax({url:"${pageContext.request.contextPath}/manager/res/resServer/getAllResServerPageable",type:"POST",async:false});
		$("#main").html(htmlobject.responseText);
	}
	function getClients(){
		htmlobject = $.ajax({url:"${pageContext.request.contextPath}/manager/res/client/getAllClientsPageable",data:{resServerId:$("#resServerId").val()},type:"POST",async:false});
		$("#main").html(htmlobject.responseText);
	}
	function registeJump(){
		htmlobject = $.ajax({url:"${pageContext.request.contextPath}/manager/user/getAllUsers",data:{query_userType:0},type:"POST",async:false});
		$("#main").html(htmlobject.responseText);
	}
</script>
</head>
<body style="padding-top: 40px;position: relative;">
   <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <button data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar" type="button">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a href="http://www.e-to-china.com.cn" class="brand">中国通关网</a>
          <div class="nav-collapse collapse">
            <ul class="nav">
              <li style="color: #999999;text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);padding: 10px 15px;">
                 欢迎您：${sessionScope.username}
              </li>
              <li class="">
                	<a href="logout.do">退出</a>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </div> 
    <div class="container">
	    <div class="row">
	     <div class="span3">
		     <div style="max-width: 340px; padding: 8px 0;" class="well">
	              <ul class="nav nav-list">
	                <li class="active"><a href="#">菜单</a></li>
	                <li><a href="#" onclick="getResServers()">资源服务器</a></li>
	                <li><a href="#" onclick="getClients()">客户端应用</a></li>
	                <li><a  href="#" onclick="registeJump()">用户管理</a></li> 
	                <li><a href="#" onclick="getHtml()">修改密码</a></li>
	                <li class="divider"></li>
	              </ul>
	            </div>
	     </div>
	     <div class="span9" id="main" >
	     		<h2>欢迎您！</h2>
         </div>
	    </div> 
    </div>
    
    <footer class="footer">
      <div class="container">
        <p><a target="_blank" href="http://www.e-to-china.com.cn">中国通关网版权所有</a> </p>
      </div>
    </footer>
</body>
</html>